<template>
	<div>
		<span class="allprodu">查看所有产品</span>
			<span class="tit">周末去哪儿</span>
			<div class="allproduImg" v-for="(item,index) in info" :key="item.index">
				<img :src="item.img" alt="">
				<span>{{item.name}}</span><br>
				<span class="icon">{{item.icons}}</span>
			</div>
	</div>
</template>

<script>
	export default {
		name:'AllProducts',
		data() {
			return {
			};
		},
		props: {
			info: {
				type: Array,
			},
		},
		
	}
</script>

<style scoped>
	.tit{
		font-size: .14rem;
		margin: .1rem .2rem;
	}
	.allprodu{
		width: 100%;
		height: .4rem;
		font-size: .14rem;
		background: white;
		display: flex;
		justify-content: center;
		align-items: center;
		margin: .02rem 0;
	}
	.allproduImg{
		background: white;
	}
	.allproduImg span{
		/* font-size: .14rem; */
		margin: .1rem .2rem;
	}
	.allproduImg img{
		width: 100%;
		height: 1.4rem;
		margin-top: .2rem;
		
	}
	.icon{
		font-size: .12rem;
	}
</style>
